package com.frontop.system.modules.sale.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.frontop.system.modules.sale.model.SaleInfo;
import com.frontop.system.modules.sale.model.SaleQrInfo;
import com.frontop.system.modules.sale.mapper.SaleQrInfoMapper;
import com.frontop.system.modules.sale.service.SaleQrInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.frontop.system.modules.sale.vo.SaleQrInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 二维码信息 服务实现类
 * </p>
 *
 * @author YangJia
 * @since 2022-04-24
 */
@Service
public class SaleQrInfoServiceImpl extends ServiceImpl<SaleQrInfoMapper, SaleQrInfo> implements SaleQrInfoService {
    @Autowired
    SaleQrInfoMapper saleQrInfoMapper;
    @Override
    public List<SaleQrInfo> qrListPage(SaleQrInfoVO vo) {
        return saleQrInfoMapper.qrListPage(vo);
    }

    @Override
    public Page<SaleQrInfo> qrListPageIndex(Page<SaleQrInfo> page, SaleQrInfoVO vo) {
        return saleQrInfoMapper.qrListPageIndex(page,vo);
    }

}
